home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-26 | 2.2 KB | 69 lines | [TEXT/ScoM] |
- HOW TO MAKE BINAURAL BEATS
-
- >I would like to make music with binaural beats. That is, to generate
- >alpha waves the right ear needs to hears every tone 8-12HZ lower that
- >the right (using stereo headphones). Do you have a function or a program
- >that would support this?
- >I wasn't sure if this was appropriate for the SCOM mailing list. If it
- >is feel free to post your response there.
-
- ; This is a bit fuzzy solution since I don't have a table on hand
- ; about the exact tunings of notes. You have to tweak this.
-
- ; The idea is to create a tuned tonality where the other frequency is
- ; 10 hz higher. To achieve this you need to know the base frequency of
- ; the first note and then define a ratio of basefreq+10 hz / basefreq
- ; which results in ratio that is used to define the next tuning value.
-
- ; does anybody know what is the right multiplicator to get the note and
- ; freqs match?
-
- (setq basefreq (* 12 (note-to-freq 'c 3)))
-
- ; create a tonality 0 cent and cent value of base+10hz and base
- ; then let voice-base play the first note of the tonality with symbol a and
- ; the voice-beat the second note of the tonality with symbol b
-
- ; notice you must know the resolution of your synth, how many steps it
- ; can produce between semitones. If you use 4096 and set up the synth
- ; to respond with 1 semitone it will likely be the right setting, but
- ; may need experimentation.
-
- (create-tonality 10hz-alpha (cents-to-freqs (list 0 (freq-to-cent (+ basefreq 10) basefreq))))
-
- (def-orchestra 'orchestra
- all-instruments (voice)
- voice (voice-base voice-beat)
- )
-
- (def-section-timesheet sect-a
- ;
- ; timesheet
- ;
- with 1/1 ;1 9 17 25 33
- ; +---!---+---!---+---!---+---!---+---!
- tonality "." (activate-tonality (10hz-alpha c 3 4096))
- voice "----------------"
- ;
- beat 1/1 ; !---!---!---!---!
- voice-base "-" '(a) with '(85 75 80 70)
- voice-beat "-" '(b) with '(85 75 80 70)
- )
-
- (def-section sect-a
- voice-base
- channel 1
- voice-beat
- channel 2
- )
-
- (def-tempo 120)
-
- ; note that nil here makes it saving the file in the same folder where the
- ; source code is in.
-
- (play-file-p nil
- all-instruments '(sect-a)
- )
-
-